package com.tarena.lbs.business.pojo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@TableName("lbs_store_chain")
@Data
public class StoreChainPO {
    @ApiModelProperty(value = "id")
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty(value = "门店id")
    @TableField("store_id")
    private Integer storeId;
    @ApiModelProperty(value = "链接")
    @TableField("link")
    private String link;
    @ApiModelProperty(value = "链接图片")
    @TableField("link_image")
    private String linkImage;
    @ApiModelProperty(value = "链接状态")
    @TableField("link_status")
    private Integer linkStatus;
    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    //瞬态属性
    @TableField(exist = false)
    @ApiModelProperty(value = "门店名称")
    private String storeName;//门店名称
    @TableField(exist = false)
    @ApiModelProperty(value = "商家名称")
    private String businessName;//商家名称
    @TableField(exist = false)
    @ApiModelProperty(value = "门店地址")
    private String storeAddress;//门店地址省 市 县
}
